// TODO: DSS-6628 ember-radio-button component does not currently support styles
//   on <label> element. There might be a work around:
//   https://github.com/yapplabs/ember-radio-button/issues/13
//   Investigate and find a way to apply a class to the <label> without
//   the override used below
//   Override ember-radio-button styles
.ember-radio-button {
  position: relative;
  left: 26px;
  min-width: 60px;
  cursor: pointer;

  &:before,
  &:after {
    content: ' ';
    height: 20px;
    width: 20px;
    position: absolute;
    top: 0;
    left: -26px;
    display: block;
    box-sizing: border-box;
    border-radius: 50%;
  }

  &:before {
    border: 1px solid set_color(grey, mid);
  }

  &:after {
    border: 0 solid set-color(blue, curious);
    transition: border-width 167ms cubic-bezier(0, 0, 0.2, 1);
    border-width: 0px;
  }

  &.checked:after {
    border-width: 6px;
  }

  input[type='radio'] {
    opacity: 0;
    margin: 16px 2px 0 0;
    position: absolute;
  }
}
